package routers

import (
	"github.com/gin-gonic/gin"
	"go-web/controllers/user"
)

func init() {
	registry(func(app *gin.Engine) {
		u := app.Group("/user")
		{
			u.GET("get", user.Get)
			//u.GET("list", user.List)
			u.POST("create", user.Create)
			//u.POST("update", user.Update)
			//u.POST("delete", user.Delete)
			u.POST("test", user.Test)
		}
	})
}
